Release 10.1A: OpenEdge Development:
Java Open Clients


Preparing and managing a ProDataGraph parameter

The Progress 4GL requires a different programming model to manage DATASET or DATASET-HANDLE (static or dynamic ProDataSet) parameters. However to manage a ProDataGraph parameter in a Java Open Client application, you use the same programming model to map both types of ProDataSet parameters.

Parameter passing modes

From the viewpoint of the Java Open Client, the minimum information that you must provide in a ProDataGraph to map a ProDataSet parameter depends on the parameter passing mode of the application service:

ProDataGraphHolder class

The following class definition shows the constructor and method signatures for the ProDataGraphHolder class:

Example 5–1: ProDataGraphHolder class definition
public class ProDataGraphHolder extends Holder 
{ 
  ProDataGraphHolder(); 
  ProDataGraphHolder(com.progess.open4gl.ProDataGraph); 
  void setProDataGraphValue(com.progess.open4gl.ProDataGraph); 
  ProDataGraph getProDataGraphValue(); 
  public boolean isNull(); 
} 

For more information on holder classes, see Chapter 4, " Passing Parameters."


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095